package com.zpark.sports.controller;

import com.zpark.sports.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/test")
public class TestController {

    @Autowired
    private IUserService userService;
    @RequestMapping("demo01")
    public void test(){
        //调用业务层代码
        userService.test(105);

    }
}
